Google Cloud Memorystore
Simple HTTP server example to demonstrate connecting to Google Cloud Memorystore. This sample uses the node_redis client.
Running on GCE​
Follow the instructions in this guide to deploy the sample application on a GCE VM.
Running on GKE​
Follow the instructions in this guide to deploy the sample application on GKE.
Running on Google App Engine Flex​
Follow the instructions in this guide to deploy the sample application on GAE Flex.
Running Locally​
To run this sample locally, follow these instructions:
In one terminal, run Redis:
redis-server
In another terminal, run the Node application:
node server.js
Visit the following localhost
URL to test your server that connects to Redis and observe a persistant "Visitor number".